package com.zkj.cloud.payserver.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * @ClassName: ApplicationContextConfig
 * @Description: TODO
 * @Author: 朱开军
 * @Date: 2021-8-25 17:45
 * @Copyright: © 福建瑞术信息 版权所有
 */
@Configuration
public class ApplicationContextConfig {

    @Bean //@Bean相当于applicationContext.xml文件中的bean标签
    public RestTemplate getRestTemplate(){
        return new RestTemplate();
    }

}
